package com.ticket.quartz.task;

import com.ticket.system.service.ITYanchuPointsRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 * 
 * @author ruoyi
 */
@Component("pointsTask")
public class PointsTask
{
    @Autowired
    private ITYanchuPointsRuleService itYanchuPointsRuleService;

    public void reset(){
        itYanchuPointsRuleService.resetScore();
    }
}
